//
// Created by Administrator on 2021/5/21.
//

#include "iostream"
#include "ctime"
using namespace std;

int main(){
    //添加随机数种子
    srand((unsigned int) time(NULL));
    //1.create random number 0-100
    int num = rand() % 100 + 1; //random number 0-99

    //2.player predict
    int val = 0;
    while(1){
        cin >> val;

        //3.guess
        if (val > num){
            cout << "the number is big!" << endl;
        } else if (val < num){
            cout << "the number is small" << endl;
        } else{
            cout << "the answer is correct" << endl;
            break;
        }
    }

    system("pause");

    return 0;
}